package com.api.shopapi.service;


import com.api.shopapi.entity.OrderBusinessTradenoRel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderBusinessTradenoRelService {

    int insert(OrderBusinessTradenoRel orderBusiness);

    int delete(String orderBusinessCode);

    int update(OrderBusinessTradenoRel orderBusiness);

    List<OrderBusinessTradenoRel> getList();

    OrderBusinessTradenoRel getByOrderBusinessTradeNoRelCode(String orderBusinessTradeNoRelCode);

    List<OrderBusinessTradenoRel> getListByTradeno(String tradeno);

    OrderBusinessTradenoRel getByOrderBusinessCode(@Param("orderBusinessCode") String orderBusinessCode);

}
